/*
 * @Author: your name
 * @Date: 2021-12-03 15:23:05
 * @LastEditTime : 2022-04-27 20:54:10
 * @LastEditors  : Shiming
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath     : \\tms-obc-web\\src\\app\\routes\\sys-setting\\sys-setting.module.ts
 */
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DynamicSettingModule, SharedModule } from '@shared';
import { StaffManagementComponent } from './components/staff-management/staff-management.component';
import { SysSettingRoutingModule } from './sys-setting-routing.module';
import { BuyerTranspowerComponent } from './components/staff-management/transpower/transpower.component';
import { SystemStaffStaffModalComponent } from './components/staff-management/staff-modal/staff-modal.component';
import { RoleManagementComponent } from './components/role-management/role-management.component';
import { BasicConfigComponent } from './components/basic-config/basic-config.component';
import { AuditReasonConfigComponent } from './components/audit-reason-config/audit-reason-config.component';
import { BasicConfigActionModalComponent } from './components/basic-config/basic-config-action-modal/basic-config-action-modal.component';
import { AuditResonConfigActionModalComponent } from './components/audit-reason-config/audit-reson-config-action-modal/audit-reson-config-action-modal.component';
import { CartConfigComponent } from './components/cart-config/cart-config.component';
import { CartConfigActionModalComponent } from './components/cart-config/cart-config-action-modal/cart-config-action-modal.component';
import { AgreementConfigComponentsBaseComponent } from './components/agreement-config/agreement-config.component';
import { BasicSettingComponent } from './components/basic-setting/basic-setting.component';
import { SystemConfigComponent } from './components/system-config/system-config.component';
import { SettingRoleEditComponent } from './components/role-management/edit/edit.component';
import { SettingMenuComponent } from './components/role-management/menu/menu.component';
import { GoodsNameConfigComponent } from './components/goods-name-config/goods-name-config.component';
import { CrmManagementComponent } from './components/crm-management/crm-management.component';
import { NetworkFreightComponent } from './components/network-freight/network-freight.component';
import { CloseAccountComponent } from './components/close-account/close-account.component';
import { AnnouncementMessageComponent } from './components/announcement-message/announcement-message.component';
import { InsuranceSetComponent } from './components/insurance-set/insurance-set.component';
import { NetworkFreightNewComponent } from './components/network-freight/new/new.component';
import { NoTeManagementComponent } from './components/note-management/note-management.component';
import { SmsTemplateComponent } from './components/sms-template/sms-template.component';
import { OrganizationManagementComponent } from './components/organization-management/organization-management.component';
import { OrganizationModalComponent } from './components/organization-management/organization-modal/organization-modal.component';
import { ApiAuthModalComponent } from './components/organization-management/api-auth-modal/api-auth-modal.component';
import { MenuTreeComponent } from './components/organization-management/menu-tree/menu-tree.component';
import { PartnerSystemConfigComponent } from './components/config/config.component';

const COMPONENTS = [
  StaffManagementComponent,
  RoleManagementComponent,
  BasicConfigComponent,
  AuditReasonConfigComponent,
  CartConfigComponent,
  AgreementConfigComponentsBaseComponent,
  BasicSettingComponent,
  SystemConfigComponent,
  GoodsNameConfigComponent,
  CrmManagementComponent,
  NetworkFreightComponent,
  CloseAccountComponent,
  NetworkFreightNewComponent,
  AnnouncementMessageComponent,
  InsuranceSetComponent,
  NoTeManagementComponent,
  SmsTemplateComponent,
  OrganizationManagementComponent,
  PartnerSystemConfigComponent
];
const NOTROUTECOMPONENTS = [
  BuyerTranspowerComponent,
  SystemStaffStaffModalComponent,
  BasicConfigActionModalComponent,
  AuditResonConfigActionModalComponent,
  CartConfigActionModalComponent,
  SettingRoleEditComponent,
  SettingMenuComponent,
  OrganizationModalComponent,
  ApiAuthModalComponent,
  MenuTreeComponent
];
@NgModule({
  declarations: [...COMPONENTS, ...NOTROUTECOMPONENTS],
  imports: [CommonModule, SysSettingRoutingModule, SharedModule, DynamicSettingModule],
  schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class SysSettingModule {}
